﻿using System;
using System.Collections.Generic;
using System.Text;

namespace XXX.Common
{
   public  class CanShu
    {
         

        public static readonly string ServerIP = Common.AppSettings.GetAppSeting("cServerIP");
        public static readonly string UserName = Common.AppSettings.GetAppSeting("cUsername");
        public static readonly string UserPass = Common.AppSettings.GetAppSeting("cUserpass");
        public static readonly string U8Account = Common.AppSettings.GetAppSeting("cU8account");

        public static readonly string conStr = Common.AppSettings.GetAppSeting("xxxDB");
        public static readonly string apiEnv = Common.AppSettings.GetAppSeting("apienv");
        public static readonly string vendorCode = Common.AppSettings.GetAppSeting("vendorCode");
          
        public static readonly string cModel = Common.AppSettings.GetAppSeting("modelInv");

        //启用日期

        public static readonly string dBegin = Common.AppSettings.GetAppSeting("BeginDate");
        public static readonly string conAdoU8 = Common.AppSettings.GetAppSeting("u8ado");
        public static readonly string coUrl = Common.AppSettings.GetAppSeting("COURL");

        public static readonly string conStrLK = Common.AppSettings.GetAppSeting("LKDB");
        public static readonly string conStrLF = Common.AppSettings.GetAppSeting("LFDB");

        //接口重复调用间隔
        public static int chkRepeat = int.TryParse(Common.AppSettings.GetAppSeting("chkRepeat"), out int i) ? i : 10;

    }
}
